<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <script type="text/javascript">
  var s1=['a','b','c'];
  var s2=['1','2','3'];
 function change(x) {
  for(i=0;i<s1.length;i++) {
   if(document.getElementByIdx_x(x).value==s1[i]) {
    document.getElementByIdx_x("bbb").value=s2[i];
    break;
   }else {
    document.getElementByIdx_x("bbb").value="";
    }
  }
 }
  </script>
 </head>
 <body>
    <select id="country" style="width:150px" name="country" onchange="change(this.id)">
 <option selected="selected" value="">-选择国家/地区-</option>
 <option value="a">澳大利亚</option>
 <option value="b">阿曼</option>
 <option value="c">安哥拉</option>
</select>
<input name="member.birth" type="text" readonly value="" id="bbb" size="14"/>
 </body>
</html>